{include file="public/headerbase" /} {include file="public/left" /}

<div class="right-content">
	<ol class="breadcrumb we7-breadcrumb">
		<li>
			<a href="{:url('Brand/index')}">品牌介绍</a>
		</li>
		<li>
			编辑信息
		</li>
	</ol>
	<div class="clearfix">
	
		<div class="we7-form">
			<div class="form-group">
				<label class="col-sm-2 control-label">收件人</label>
				<div class="col-sm-8">
					<input type="text" class="form-control" name="ousername" id="ousername" value="{$data['ousername']}" placeholder="收件人" disabled="disabled"/>
				</div>
			</div>
			<div class="form-group">
				<label class="col-sm-2 control-label">联系电话</label>
				<div class="col-sm-8">
					<input type="text" class="form-control" name="omobile" id="omobile" value="{$data['omobile']}" placeholder="联系电话" disabled="disabled"/>
				</div>
			</div>
			<div class="form-group">
				<label class="col-sm-2 control-label">收货地址</label>
				<div class="col-sm-8">
					<input type="text" class="form-control" name="oaddress" id="oaddress" value="{$data['oaddress']}" placeholder="收货地址" disabled="disabled"/>
				</div>
			</div>
			<div class="form-group">
				<label class="col-sm-2 control-label">商品名称</label>
				<div class="col-sm-8">
					{foreach name="goodslist" item="val"}
						<label class="glist" style="padding-left:20px">名称：</label> <span class="gdata">{$val['dtitle']}</span>
						<label class="glist" style="padding-left:20px">规格：</label> <span class="gdata">{$val['dspec']}</span>
						<label class="glist" style="padding-left:20px">数量：</label> <span class="gdata">{$val['dnum']}</span>
						<label class="glist" style="padding-left:20px">单价：</label> <span class="gdata">￥{$val['dprice']}</span><br />
						
					{/foreach}
				</div>
			</div>
		
			<div class="form-group">
				<label class="col-sm-2 control-label">运费</label>
				<div class="col-sm-8">
					<input type="text" class="form-control" name="ofare" id="ofare" value="{$data['ofare']}" placeholder="运费" disabled="disabled"/>
				</div>
			</div>
			<div class="form-group">
				<label class="col-sm-2 control-label">优惠券金额</label>
				<div class="col-sm-8">
					<input type="text" class="form-control" name="ocoupon" id="ocoupon" value="{$data['ocoupon']}" placeholder="优惠券金额" disabled="disabled"/>
				</div>
			</div>
			<div class="form-group">
				<label class="col-sm-2 control-label">支付金额</label>
				<div class="col-sm-8">
					<input type="text" class="form-control" name="opaymoney" id="opaymoney" value="{$data['opaymoney']}" placeholder="支付金额" disabled="disabled"/>
				</div>
			</div>
			<div class="form-group">
				<label class="col-sm-2 control-label">支付状态</label>
				<div class="col-sm-8">
					<input type="text" class="form-control" name="ostarts" id="ostarts" value='{if condition="$data.ostarts eq 0"}待付款{elseif condition="$data.ostarts eq 1"/}待发货{elseif condition="$data.ostarts eq 2"/}已发货{else /}已完成{/if}' placeholder="支付状态" disabled="disabled"/>
				</div>
			</div>
			<div class="form-group">
				<div class="">
					<a href="{:url('Orders/index')}"><button type="button" class="btn btn-success">返回</button></a>
				</div>
			</div>
		</div>
	
	</div>
	<script>
	// function tijiao(bid){
	// 	var bname=$('#bname').val();
	// 	$.ajax({
	//         url: "{:url('Brand/xiugai')}",
	//         data:{"bname":bname,"bid":bid},
	//         type: "post",
	//         dataType: "json",
	//         success: function (mega) {
	//           if(mega==1){
	//            		util.message('修改品牌成功', '', '');
	//            }else{
	//            		util.message('修改品牌失败', '', '');
	//            }
	//         }
 //    	});
	// }
	</script>
</div>
</div>
</div>
</div>
</div>
{include file="public/footer" /}